package hhm.android.library.bus.method;

import java.util.Set;
import hhm.android.library.bus.Bus;
import hhm.android.library.bus.MethodInfo;

/**
 * User: mcxiaoke
 */
public class AnnotationMethodFinder implements MethodFinder {


    @Override
    public Set<MethodInfo> find(final Bus bus, final Class<?> targetClass) {
        return MethodHelper.findSubscriberMethodsByAnnotation(targetClass);
    }
}
